package org.itboys.mobile.dto.pay;

import org.itboys.mobile.dto.common.MobileBaseDto;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：圣代_预支付（返回给前端的记过）_dto。
 */

public class SundayPayDto{
    //公用
    private String orderNo;//传入第三方的订单编号，即系统中预支付订单编号
    private String payAmount;//本次需要支付金额；
    private String remark;//本次支付描述
    //支付宝
    private String alipayResult;//返回移动端调用支付发起的字符串

   //微信
   private String appId;
    private String timeStamp;
    private String nonceStr;
    private String paySign;
    private String package_="Sign=WXPay";//固定值。
    private String signType;
    private String parterId;//微信商户ID
    private String prepayId;//微信预知否后返回的prepayId
    public SundayPayDto() {
    }
    //支付宝
    public SundayPayDto (String orderNo, String payAmount, String remark,String alipayResult) {

        this.orderNo = orderNo;
        this.payAmount = payAmount;
        this.remark = remark;
        this.alipayResult = alipayResult;

    }
    //微信
    public SundayPayDto( String orderNo, String payAmount, String remark,
                         String appId, String timeStamp, String nonceStr, String paySign,
                         String package_, String signType,String parterId,String prepayId) {

        this.orderNo = orderNo;
        this.payAmount = payAmount;
        this.remark = remark;
        this.appId = appId;
        this.timeStamp = timeStamp;
        this.nonceStr = nonceStr;
        this.paySign = paySign;
        this.package_ = package_;
        this.signType = signType;
        this.parterId=parterId;
        this.prepayId=prepayId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(String payAmount) {
        this.payAmount = payAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAlipayResult() {
        return alipayResult;
    }

    public void setAlipayResult(String alipayResult) {
        this.alipayResult = alipayResult;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getPaySign() {
        return paySign;
    }

    public void setPaySign(String paySign) {
        this.paySign = paySign;
    }

    public String getPackage_() {
        return package_;
    }

    public void setPackage_(String package_) {
        this.package_ = package_;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getParterId() {
        return parterId;
    }

    public void setParterId(String parterId) {
        this.parterId = parterId;
    }

    public String getPrepayId() {
        return prepayId;
    }

    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }
}
